package com.superquan.selfstudybootmybatis.entity.user;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable {
    private Integer id;
    private String userName;
    private String passWord;
    private String realName;
    private List<String> idArry;

    public User() {
    }

    public User(Integer id, String userName, String passWord, String realName, List<String> idArry) {
        this.id = id;
        this.userName = userName;
        this.passWord = passWord;
        this.realName = realName;
        this.idArry = idArry;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return passWord;
    }

    public void setPassword(String passWord) {
        this.passWord = passWord;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public List<String> getIdArry() {
        return idArry;
    }

    public void setIdArry(List<String> idArry) {
        this.idArry = idArry;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", realName='" + realName + '\'' +
                ", idArry=" + idArry +
                '}';
    }
}
